package bomb.logic;

import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;


public class Lugar {
    private float x = 0;
    private float y = 0;
    private boolean done = false;
    private Image img = null;
    
    public Lugar(float x, float y, boolean done) throws SlickException{
        this.x = x;
        this.y = y;
        this.done = done;
        this.img = new Image("src/images/place00.png");
    }
    
    
    public boolean getDone(){
        return this.done;
    }
    public void Done(){
        this.done = true;
    }
    public void unDone(){
        this.done = false;
    }
    public void setX(float x){
        this.x = x;
    }
    public void setY(float y){
        this.y = y;
    }
    public float getX(){
        return this.x;
    }
    public float getY(){
        return this.y;
    }
    public void setImg(java.lang.String arq) throws SlickException{
        this.img = new Image("src/images/"+arq);
    }
    public Image getImg(){
        return this.img;
    }
    
    
    
}